package org.zcl.elastic.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

/**
 * .
 *
 * @author zhuchenglin
 * @since 2024/7/19 10:46
 */
@Document(indexName = "user-demo")
@Data
public class User {

    @Id
    private String id;
    private String userName;
    private String address;
    private Integer age;
    private String gender;

}
